<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <title>评分管理</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="icon" type="image/x-icon" href="/survey/favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="/survey/layui/css/layui.css"/>
    <link rel="stylesheet" type="text/css" href="/survey/css/common/itemlist.css"/>
    <link rel="stylesheet" type="text/css" href="/survey/css/markinfo/findlist.css"/>
    <script type="text/javascript" src="/survey/js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="/survey/layui/layui-2.5.6.min.js"></script>
    <script type="text/javascript" src="/survey/js/markinfo/findlist.js"></script>
</head>
<body>
<div th:replace="navigation::navigation"></div>
<div id="main">
    <div id="mainMenu">
        <div id="menuTitle" th:text="#{menu.title.text}"></div>
        <div class="menu2"><a href="/survey/project/showlist" th:text="#{menu.div.text1}"></a></div>
        <shiro:hasRole name="role2">
            <div class="menu2"><a href="/survey/project/findlist" th:text="#{menu.div.text2}"></a></div>
        </shiro:hasRole>
        <shiro:hasRole name="role3">
            <div class="menu2"><a href="/survey/markinfo/markview" th:text="#{menu.div.text3}"></a></div>
        </shiro:hasRole>
        <shiro:hasRole name="role3">
            <div class="menu2"><a href="/survey/markinfo/showlist" th:text="#{menu.div.text4}"></a></div>
        </shiro:hasRole>
        <shiro:hasRole name="role2">
            <div class="menu1"><a href="/survey/markinfo/findlist" th:text="#{menu.div.text5}"></a></div>
        </shiro:hasRole>
        <shiro:hasRole name="role2">
            <div class="menu2"><a href="/survey/operator/showlist" th:text="#{menu.div.text6}"></a></div>
        </shiro:hasRole>
        <shiro:hasRole name="role2">
            <div class="menu2"><a href="/survey/userinfo/showlist" th:text="#{menu.div.text7}"></a></div>
        </shiro:hasRole>
        <div class="menu2"><a href="/survey/message/showlist" th:text="#{menu.div.text8}"></a></div>
        <div class="menu2"><a href="/survey/userinfo/center" th:text="#{menu.div.text9}"></a></div>
    </div>

    <div id="mainInfo">
        <div id="infoTop" th:text="#{markinfo.findlist.title}"></div>
        <div id="infoMenu" style="width: 885px">
            <span th:text="#{markinfo.findlist.menu1}"></span>
            <input id="menuBtn1" type="button" value="←"/>
            <input id="menuText" th:value="${param.name}"/>
            <input id="menuBtn2" type="button" th:value="#{markinfo.findlist.menu2}"/>
        </div>

        <table id="tab1" class="layui-table">
            <thead>
            <tr height="40px" style="background-color:#51596b;">
                <th width="4%">NO</th>
                <th width="20%" th:text="#{markinfo.findlist.table.title1}"></th>
                <th width="14%" th:text="#{markinfo.findlist.table.title2}"></th>
                <th width="14%" th:text="#{markinfo.findlist.table.title3}"></th>
                <th width="14%" th:text="#{markinfo.findlist.table.title4}"></th>
                <th width="12%" th:text="#{markinfo.findlist.table.title5}"></th>
                <th width="12%" th:text="#{markinfo.findlist.table.title6}"></th>
                <th width="10%" th:text="#{markinfo.findlist.table.title7}"></th>
            </tr>
            </thead>
            <tbody>
            <tr th:each="markItem, status : ${markItems}" th:id="${markItem.id}">
                <td th:text="${status.count + (page - 1) * 15}"></td>
                <td><a th:id="${markItem.project.id}" th:text="${markItem.project.name}"></a></td>
                <td th:text="${markItem.project.operator}"></td>
                <td th:text="${markItem.project.datetime1}"></td>
                <td th:text="${markItem.project.datetime2}"></td>
                <td th:text="${markItem.user.name}"></td>
                <td th:text="${markItem.score}"></td>
                <td>
                    <input type="button" class="layui-btn layui-btn-xs layui-btn-normal" th:value="#{markinfo.findlist.table.button1}"/>
                    <input type="button" class="layui-btn layui-btn-xs layui-btn-danger" th:value="#{markinfo.findlist.table.button2}"/>
                </td>
            </tr>
            </tbody>
        </table>
        <img th:if="${#lists.isEmpty(markItems)}" src="/survey/img/null.png" style="margin:145px 400px;float:left;">
        <div th:if="${!#lists.isEmpty(markItems)}" id="pageMain" class="layui-form-item">
            <div id="page" th:data-p1="${page}" th:data-p2="${count}"></div>
        </div>
    </div>
</div>
<!-- main结束 -->
<div style="width:100%;margin-top:20px;float:left;color:#ccc;text-align: center;font-size:14px;">
    <p>香港麦斯迪埃高科技有限责任公司</p>
    <p>Copyright © 2017 All Rights Reserved</p>
</div>
</body>
</html>